home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 112 / EnigmaAmiga112CD.iso / dalla rivista / awnpipe / awnp / awnp-docs / fuelgauge.doc < prev    next >
Text File  |  2000-05-17  |  2KB  |  118 lines

  1.  
  2. The Fuel gauge do not produce events.
  3.  
  4.  
  5. FuelGauge gadget parameters.
  6. -------------------------
  7.  
  8. font=GID
  9.  
  10. This sets the font for the gadget. The GID points to an ALREADY defined text attribute.
  11.  
  12. close (c)
  13.  
  14.  This gadget will close the window when selected by the user.
  15.  
  16. readonly (ro)
  17.  
  18.  This gadget is read only.
  19.  
  20. disable=number (dis=)
  21.  
  22.  The gadget is enabled if number = 0 , disabled if number !=0. Defaults to enabled.
  23.  
  24. gadgettext="text" (gt=)
  25.  
  26.  Set the text of the gadget.
  27.  
  28. centerjustify (cj)
  29.  
  30.  Set the justification of the text for the gadget. Defaults to leftjustify.
  31.  
  32. vertical   (v)
  33.  
  34.  This fuelgauge is vertical. Defaults to horizontal.
  35.  
  36. ticks=number (t=)
  37.  
  38.  Set the  'number' of ticks in the fuel gauge. Defaults to 11.
  39.  
  40. percent (per)
  41.  
  42.  Show the percentage full as the fuel gauge text.
  43.  
  44. minnumber=number (minn=)
  45.  
  46.  Empty value for this gadget. Defaults to 0.
  47.  
  48. maxnumber=number (maxn=)
  49.  
  50.  Full value for this gadget. Defaults to 100.
  51.  
  52. defnumber=number  (defn=)
  53.  
  54.  Value for this gadget when window is opened. Defaults to 50.
  55.  
  56. minwidth=number (minw=)
  57.  
  58.  Set the minimum width for this gadget
  59.  
  60. minheight=number (minh=)
  61.  
  62.  Set the minimum height for this gadget
  63.  
  64. weightedwidth=number (weiw=)
  65.  
  66.  Set the weighted width for this gadget
  67.  
  68. weightedheight=number (weih=)
  69.  
  70.  Set the weighted height for this gadget
  71.  
  72. nominalsize (noms)
  73.  
  74.  Set this gadget to its nominal size.
  75.  
  76. tags="tags|data[|tag|data...]|0
  77.  
  78.  A list of tag and value pairs in HEX. Do not forget the trailing null !
  79.  
  80. childlabel    (chl)
  81. childlabelr   (chlr)
  82.  
  83.  Use the previously defined image as a childlabel for this gadget. Display the childlabel to the right or left of the gadget.
  84.  
  85. replace=GID
  86.  
  87.  Use this gadget to replace an existing gadget specified by GID.
  88.  
  89. Definition Reply
  90. -----------------
  91.  
  92.  When the gadget creation is successful the pipe replies with
  93.  
  94. 'ok GID'
  95.  
  96. FuelGauge gadget modify parameters.
  97. ----------------------------------
  98.  
  99. disable=number (dis=)
  100.  
  101.  The gadget is enabled if number = 0 , disabled if number != 0.
  102.  
  103. gadgettext="text" (gt=)
  104.  
  105.  Set the text of the gadget.
  106.  
  107. defnumber=number  (defn=)
  108.  
  109.  Value for this gadget .
  110.  
  111. get=TAG
  112.  
  113.  Read the value of a specific gadget attribute. Returns a blank line if attribute is not readable. This should not be combined with any other modify command on the same line.
  114.  
  115. refresh (ref)
  116.  
  117.  Redraw the gadget.
  118.